// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Refresh all markers in array at x time
// -----------------------------------------------

private ["_position","_time"];

_time = _this select 0;

while {true} do {
	{
		_position = getMarkerPos (_x select 0);
		(_x select 0) setMarkerPos _position;
		sleep 0.01;
	} foreach wcarraymarker;
	sleep _time;
};